package com.ruoyi.common.core.domain.entity.system;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 拼团类型对象 sys_pintuan_type
 *
 * @author zjw
 * @date 2023-08-03
 */
public class SysPintuanType extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 拼船类型id
     */
    private Long pintuanId;

    /**
     * 拼船类型所属景区id
     */
    @Excel(name = "拼船类型所属景区id")
    private Long scenicId;

    /**
     * 拼船类型名称
     */
    @Excel(name = "拼船类型名称")
    private String name;

    /**
     * 拼船类型的描述。
     */
    @Excel(name = "拼船类型的描述。")
    private String description;

    /**
     * 当前类型允许的拼团人数
     */
    @Excel(name = "当前类型允许的拼团人数")
    private Integer personNum;

    /**
     * 当前类型包含的游玩时长，单位：分钟。
     */
    @Excel(name = "当前类型包含的游玩时长，单位：分钟。")
    private Long duration;

    /**
     * 当前类型的价格(每人)，单位：元。
     */
    @Excel(name = "当前类型的价格(每人)，单位：元。")
    private Double price;

    /**
     * 当前类型的押金(每人)，单位：元。
     */
    @Excel(name = "当前类型的押金(每人)，单位：元。")
    private Double deposit;

    /**
     * 当前类型的对应展示图片
     */
    @Excel(name = "当前类型的对应展示图片")
    private String picture;

    public void setPrice(Double price) {
        this.price = price;
    }

    public Double getPrice() {
        return price;
    }

    public void setDeposit(Double deposit) {
        this.deposit = deposit;
    }

    public Double getDeposit() {
        return deposit;
    }

    public void setPintuanId(Long pintuanId) {
        this.pintuanId = pintuanId;
    }

    public Long getPintuanId() {
        return pintuanId;
    }

    public void setScenicId(Long scenicId) {
        this.scenicId = scenicId;
    }

    public Long getScenicId() {
        return scenicId;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getName() {
        return name;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getDescription() {
        return description;
    }

    public void setPersonNum(Integer personNum) {
        this.personNum = personNum;
    }

    public Integer getPersonNum() {
        return personNum;
    }

    public void setDuration(Long duration) {
        this.duration = duration;
    }

    public Long getDuration() {
        return duration;
    }

    public void setPicture(String picture) {
        this.picture = picture;
    }

    public String getPicture() {
        return picture;
    }

//    @Override
//    public String toString() {
//        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
//                .append("pintuanId", getPintuanId())
//                .append("scenicId", getScenicId())
//                .append("name", getName())
//                .append("description", getDescription())
//                .append("personNum", getPersonNum())
//                .append("duration", getDuration())
//                .append("price", getPrice())
//                .append("deposit", getDeposit())
//                .append("picture", getPicture())
//                .append("createBy", getCreateBy())
//                .append("createTime", getCreateTime())
//                .append("updateBy", getUpdateBy())
//                .append("updateTime", getUpdateTime())
//                .append("remark", getRemark())
//                .toString();
//    }


    @Override
    public String toString() {
        return "SysPintuanType{" +
                "pintuanId=" + pintuanId +
                ", scenicId=" + scenicId +
                ", name='" + name + '\'' +
                ", description='" + description + '\'' +
                ", personNum=" + personNum +
                ", duration=" + duration +
                ", price=" + price +
                ", deposit=" + deposit +
                ", picture='" + picture + '\'' +
                '}';
    }
}
